package com.woniuxy.mesboot.service.impl;

import com.woniuxy.mesboot.entity.MesWorkReporting;
import com.woniuxy.mesboot.mapper.MesWorkReportingMapper;
import com.woniuxy.mesboot.service.WorkReportingService;
import com.woniuxy.mesboot.vo.WorkReportingVO;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;
import java.util.List;
@Service
public class WorkReportingServiceImpl implements WorkReportingService {
    @Resource
    private MesWorkReportingMapper reportingMapper;

    @Override
    public List<WorkReportingVO> selectByTime() {
        return reportingMapper.selectByTime();
    }

    @Override
    public List<MesWorkReporting> selectAll() {
        return reportingMapper.selectAll();
    }

    @Override
    public int deleteByPrimaryKey(Long id) {
        return reportingMapper.deleteByPrimaryKey(id);
    }

    @Override
    public int insert(MesWorkReporting record) {
        return reportingMapper.insert(record);
    }

    @Override
    public int insertSelective(MesWorkReporting record) {
        return reportingMapper.insertSelective(record);
    }

    @Override
    public MesWorkReporting selectByPrimaryKey(Long id) {
        return reportingMapper.selectByPrimaryKey(id);
    }

    @Override
    public int updateByPrimaryKeySelective(MesWorkReporting record) {
        return reportingMapper.updateByPrimaryKeySelective(record);
    }

    @Override
    public int updateByPrimaryKey(MesWorkReporting record) {
        return reportingMapper.updateByPrimaryKey(record);
    }
}
